package com.iwhalecloud.bss.kite.cucc.dataservice.mapper.attr;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.iwhalecloud.bss.kite.cucc.client.dto.attr.KiteIndustryConfig;

import com.ztesoft.bss.base.extmapper.BaseMapper;

/**
 * Created by huanghaosheng on 2020/11/12 21:54
 */
public interface KiteIndustryConfigMapper extends BaseMapper<KiteIndustryConfig> {

    /**
     * 查询根行业（没有父级行业的行业）
     *
     * @return 根区域列表
     */
    List<KiteIndustryConfig> listRootIndustry();

    List<KiteIndustryConfig> listSubIndustry(@Param("parentCode") String parentCode);
}
